home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / drivers / warpwarp.c < prev    next >
C/C++ Source or Header  |  2000-04-04  |  16KB  |  464 lines

  1. /***************************************************************************
  2.  
  3. Warp Warp memory map (preliminary)
  4.  
  5.   Memory Map figured out by Chris Hardy (chrish@kcbbs.gen.nz)
  6.   Initial Driver code by Mirko
  7.  
  8.  
  9. 0000-37FF ROM        Code
  10. 4800-4FFF ROM        Graphics rom which must be included in memory space
  11.  
  12. memory mapped ports:
  13.  
  14. read:
  15.  
  16. All Read ports only use bit 0
  17.  
  18. C000      Coin slot 2
  19. C001      ???
  20. C002      Start P1
  21. C003      Start P2
  22. C004      Fire
  23. C005      Test Mode
  24. C006      ???
  25. C007      Coin Slot 2
  26. C010      Joystick (read like an analog one, but it's digital)
  27.           0->23 = DOWN
  28.           24->63 = UP
  29.           64->111 = LEFT
  30.           112->167 = RIGHT
  31.           168->255 = NEUTRAL
  32. C020-C027 Dipswitch 1->8 in bit 0
  33.  
  34. write:
  35. c000-c001 bullet x/y pos
  36. C002      Sound
  37. C003      WatchDog reset
  38. C010      Music 1
  39. C020      Music 2
  40. c030-c032 lamps
  41. c034      coin lock out
  42. c035      coin counter
  43. c036      IRQ enable _and_ bullet enable (both on bit 0) (currently ignored)
  44. C037      flip screen (currently ignored)
  45.  
  46. ***************************************************************************/
  47.  
  48. #include "driver.h"
  49. #include "vidhrdw/generic.h"
  50.  
  51.  
  52. extern unsigned char *warpwarp_bulletsram;
  53. void warpwarp_vh_convert_color_prom(unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  54. void warpwarp_vh_screenrefresh(struct osd_bitmap *bitmap,int full_refresh);
  55.  
  56. /* from sndhrdw/warpwarp.c */
  57. WRITE_HANDLER( warpwarp_sound_w );
  58. WRITE_HANDLER( warpwarp_music1_w );
  59. WRITE_HANDLER( warpwarp_music2_w );
  60. extern int warpwarp_sh_start(const struct MachineSound *msound);
  61. extern void warpwarp_sh_stop(void);
  62. extern void warpwarp_sh_update(void);
  63.  
  64. static READ_HANDLER( warpwarp_input_c000_7_r )
  65. {
  66.     return (readinputport(0) >> offset) & 1;
  67. }
  68.  
  69. /* Read the Dipswitches */
  70. static READ_HANDLER( warpwarp_input_c020_27_r )
  71. {
  72.     return (readinputport(1) >> offset) & 1;
  73. }
  74.  
  75. static READ_HANDLER( warpwarp_input_controller_r )
  76. {
  77.     int res;
  78.  
  79.     res = readinputport(2);
  80.     if (res & 1) return 23;
  81.     if (res & 2) return 63;
  82.     if (res & 4) return 111;
  83.     if (res & 8) return 167;
  84.     return 255;
  85. }
  86.  
  87. static WRITE_HANDLER( warpwarp_leds_w )
  88. {
  89.     osd_led_w(offset,data);
  90. }
  91.  
  92.  
  93.  
  94. static struct MemoryReadAddress bombbee_readmem[] =
  95. {
  96.     { 0x0000, 0x1fff, MRA_ROM },
  97.     { 0x2000, 0x23ff, MRA_RAM },
  98.     { 0x4000, 0x47ff, MRA_RAM },
  99.     { 0x4800, 0x4fff, MRA_ROM },
  100.     { 0x6000, 0x6007, warpwarp_input_c000_7_r },
  101.     { 0x6010, 0x6010, input_port_2_r },
  102.     { 0x6020, 0x6027, warpwarp_input_c020_27_r },
  103.     { -1 }    /* end of table */
  104. };
  105.  
  106. static struct MemoryWriteAddress bombbee_writemem[] =
  107. {
  108.     { 0x0000, 0x1fff, MWA_ROM },
  109.     { 0x2000, 0x23ff, MWA_RAM },
  110.     { 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
  111.     { 0x4400, 0x47ff, colorram_w, &colorram },
  112.     { 0x4800, 0x4fff, MWA_ROM },
  113.     { 0x6000, 0x6001, MWA_RAM, &warpwarp_bulletsram },
  114.     { 0x6002, 0x6002, warpwarp_sound_w },
  115.     { 0x6003, 0x6003, watchdog_reset_w },
  116.     { 0x6010, 0x6010, warpwarp_music1_w },
  117.     { 0x6020, 0x6020, warpwarp_music2_w },
  118.     { 0x6030, 0x6032, warpwarp_leds_w },
  119.     { 0x6035, 0x6035, coin_counter_w },
  120.     { -1 }    /* end of table */
  121. };
  122.  
  123. static struct MemoryReadAddress warpwarp_readmem[] =
  124. {
  125.     { 0x0000, 0x37ff, MRA_ROM },
  126.     { 0x4000, 0x47ff, MRA_RAM },
  127.     { 0x4800, 0x4fff, MRA_ROM },
  128.     { 0x8000, 0x83ff, MRA_RAM },
  129.     { 0xc000, 0xc007, warpwarp_input_c000_7_r },
  130.     { 0xc010, 0xc010, warpwarp_input_controller_r },
  131.     { 0xc020, 0xc027, warpwarp_input_c020_27_r },
  132.     { -1 }    /* end of table */
  133. };
  134.  
  135. static struct MemoryWriteAddress warpwarp_writemem[] =
  136. {
  137.     { 0x0000, 0x37ff, MWA_ROM },
  138.     { 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
  139.     { 0x4400, 0x47ff, colorram_w, &colorram },
  140.     { 0x4800, 0x4fff, MWA_ROM },
  141.     { 0x8000, 0x83ff, MWA_RAM },
  142.     { 0xc000, 0xc001, MWA_RAM, &warpwarp_bulletsram },
  143.     { 0xc002, 0xc002, warpwarp_sound_w },
  144.     { 0xc003, 0xc003, watchdog_reset_w },
  145.     { 0xc010, 0xc010, warpwarp_music1_w },
  146.     { 0xc020, 0xc020, warpwarp_music2_w },
  147.     { 0xc030, 0xc032, warpwarp_leds_w },
  148.     { 0xc035, 0xc035, coin_counter_w },
  149.     { -1 }    /* end of table */
  150. };
  151.  
  152.  
  153.  
  154. INPUT_PORTS_START( bombbee )
  155.     PORT_START      /* IN0 */
  156.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  157.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  158.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
  159.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 )
  160.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  161.     PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
  162.     PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
  163.     PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
  164.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  165.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
  166.  
  167.     PORT_START      /* DSW1 */
  168.     PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
  169.     PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  170.     PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
  171.     PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  172.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  173.     PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
  174.     PORT_DIPSETTING(    0x00, "3" )
  175.     PORT_DIPSETTING(    0x04, "4" )
  176. //    PORT_DIPSETTING(    0x08, "4" )
  177.     PORT_DIPSETTING(    0x0c, "5" )
  178.     PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  179.     PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  180.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  181.     PORT_DIPNAME( 0xe0, 0x00, DEF_STR( Bonus_Life ) )
  182.     PORT_DIPSETTING(    0x00, "50000" )
  183.     PORT_DIPSETTING(    0x20, "60000" )
  184.     PORT_DIPSETTING(    0x40, "70000" )
  185.     PORT_DIPSETTING(    0x60, "80000" )
  186.     PORT_DIPSETTING(    0x80, "100000" )
  187.     PORT_DIPSETTING(    0xa0, "120000" )
  188.     PORT_DIPSETTING(    0xc0, "150000" )
  189.     PORT_DIPSETTING(    0xe0, "None" )
  190.  
  191.     PORT_START
  192.     PORT_ANALOG( 0xff, 0x80, IPT_PADDLE | IPF_REVERSE, 30, 10, 0x14, 0xac )
  193. INPUT_PORTS_END
  194.  
  195. INPUT_PORTS_START( cutieq )
  196.     PORT_START      /* IN0 */
  197.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  198.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  199.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
  200.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 )
  201.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  202.     PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
  203.     PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
  204.     PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
  205.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  206.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
  207.  
  208.     PORT_START      /* DSW1 */
  209.     PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
  210.     PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  211.     PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
  212.     PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  213.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  214.     PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
  215.     PORT_DIPSETTING(    0x00, "3" )
  216.     PORT_DIPSETTING(    0x04, "4" )
  217. //    PORT_DIPSETTING(    0x08, "4" )
  218.     PORT_DIPSETTING(    0x0c, "5" )
  219.     PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  220.     PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  221.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  222.     PORT_DIPNAME( 0xe0, 0x00, DEF_STR( Bonus_Life ) )
  223.     PORT_DIPSETTING(    0x00, "50000" )
  224.     PORT_DIPSETTING(    0x20, "60000" )
  225.     PORT_DIPSETTING(    0x40, "80000" )
  226.     PORT_DIPSETTING(    0x60, "100000" )
  227.     PORT_DIPSETTING(    0x80, "120000" )
  228.     PORT_DIPSETTING(    0xa0, "150000" )
  229.     PORT_DIPSETTING(    0xc0, "200000" )
  230.     PORT_DIPSETTING(    0xe0, "None" )
  231.  
  232.     PORT_START
  233.     PORT_ANALOG( 0xff, 0x80, IPT_PADDLE | IPF_REVERSE, 30, 10, 0x14, 0xac )
  234. INPUT_PORTS_END
  235.  
  236. INPUT_PORTS_START( warpwarp )
  237.     PORT_START      /* IN0 */
  238.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  239.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  240.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
  241.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 )
  242.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  243.     PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
  244.     PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
  245.     PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
  246.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  247.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
  248.  
  249.     PORT_START      /* DSW1 */
  250.     PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
  251.     PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
  252.     PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
  253.     PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  254.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  255.     PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Lives ) )
  256.     PORT_DIPSETTING(    0x00, "2" )
  257.     PORT_DIPSETTING(    0x04, "3" )
  258.     PORT_DIPSETTING(    0x08, "4" )
  259.     PORT_DIPSETTING(    0x0c, "5" )
  260.     /* TODO: The bonus setting changes for 5 lives */
  261.     PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
  262.     PORT_DIPSETTING(    0x00, "8000 30000" )
  263.     PORT_DIPSETTING(    0x10, "10000 40000" )
  264.     PORT_DIPSETTING(    0x20, "15000 60000" )
  265.     PORT_DIPSETTING(    0x30, "None" )
  266.     PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
  267.     PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  268.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  269.     /*when level selection is On, press 1 to increase level */
  270.     PORT_BITX(    0x80, 0x80, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Level Selection", IP_KEY_NONE, IP_JOY_NONE )
  271.     PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  272.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  273.  
  274.     PORT_START      /* FAKE - used by input_controller_r to simulate an analog stick */
  275.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY )
  276.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY )
  277.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY )
  278.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  279. INPUT_PORTS_END
  280.  
  281. /* has High Score Initials dip switch instead of rack test */
  282. INPUT_PORTS_START( warpwarr )
  283.     PORT_START      /* IN0 */
  284.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  285.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  286.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
  287.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 )
  288.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  289.     PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
  290.     PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
  291.     PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
  292.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  293.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
  294.  
  295.     PORT_START      /* DSW1 */
  296.     PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
  297.     PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
  298.     PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
  299.     PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  300.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  301.     PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Lives ) )
  302.     PORT_DIPSETTING(    0x00, "2" )
  303.     PORT_DIPSETTING(    0x04, "3" )
  304.     PORT_DIPSETTING(    0x08, "4" )
  305.     PORT_DIPSETTING(    0x0c, "5" )
  306.     /* TODO: The bonus setting changes for 5 lives */
  307.     PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
  308.     PORT_DIPSETTING(    0x00, "8000 30000" )
  309.     PORT_DIPSETTING(    0x10, "10000 40000" )
  310.     PORT_DIPSETTING(    0x20, "15000 60000" )
  311.     PORT_DIPSETTING(    0x30, "None" )
  312.     PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
  313.     PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  314.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  315.     PORT_DIPNAME( 0x80, 0x00, "High Score Initials" )
  316.     PORT_DIPSETTING(    0x80, DEF_STR( No ) )
  317.     PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  318.  
  319.     PORT_START      /* FAKE - used by input_controller_r to simulate an analog stick */
  320.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY )
  321.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY )
  322.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY )
  323.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  324. INPUT_PORTS_END
  325.  
  326.  
  327.  
  328.  
  329. static struct GfxLayout charlayout =
  330. {
  331.     8,8,    /* 8*8 characters */
  332.     256,    /* 256 characters */
  333.     1,    /* 1 bit per pixel */
  334.     { 0 },
  335.     { 0, 1, 2, 3, 4, 5, 6, 7 },
  336.     { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
  337.     8*8    /* every char takes 8 bytes */
  338. };
  339.  
  340. static struct GfxLayout spritelayout =
  341. {
  342.     16,16,    /* 16*16 sprites */
  343.     64,    /* 64 sprites */
  344.     1,    /* 1 bit per pixel */
  345.     { 0 },
  346.     {  0, 1, 2, 3, 4, 5, 6, 7 ,
  347.             8*8+0, 8*8+1, 8*8+2, 8*8+3, 8*8+4, 8*8+5, 8*8+6, 8*8+7 },
  348.     { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
  349.             16*8, 17*8, 18*8, 19*8, 20*8, 21*8, 22*8, 23*8 },
  350.     32*8    /* every sprite takes 32 bytes */
  351. };
  352.  
  353.  
  354.  
  355. static struct GfxDecodeInfo gfxdecodeinfo[] =
  356. {
  357.     { REGION_CPU1, 0x4800, &charlayout,   0, 256 },
  358.     { REGION_CPU1, 0x4800, &spritelayout, 0, 256 },
  359.     { -1 } /* end of array */
  360. };
  361.  
  362. static struct CustomSound_interface custom_interface =
  363. {
  364.     warpwarp_sh_start,
  365.     warpwarp_sh_stop,
  366.     warpwarp_sh_update
  367. };
  368.  
  369.  
  370. #define MACHINE(NAME)                                 \
  371. static struct MachineDriver machine_driver_##NAME = \
  372. {                                                      \
  373.     {                                                 \
  374.         {                                             \
  375.             CPU_8080,                                 \
  376.             2048000,    /* 3 Mhz? */                 \
  377.             NAME##_readmem,NAME##_writemem,0,0,     \
  378.             interrupt,1                             \
  379.         }                                             \
  380.     },                                                 \
  381.     60, DEFAULT_60HZ_VBLANK_DURATION,    /* frames per second, vblank duration */    \
  382.     1,    /* single CPU, no need for interleaving */     \
  383.     0,                                                 \
  384.                                                      \
  385.     /* video hardware */                             \
  386.       34*8, 32*8, { 0*8, 34*8-1, 2*8, 30*8-1 },         \
  387.     gfxdecodeinfo,                                     \
  388.     256, 2*256,                                     \
  389.     warpwarp_vh_convert_color_prom,                 \
  390.                                                      \
  391.     VIDEO_TYPE_RASTER|VIDEO_SUPPORTS_DIRTY,         \
  392.     0,                                                 \
  393.     generic_vh_start,                                 \
  394.     generic_vh_stop,                                 \
  395.     warpwarp_vh_screenrefresh,                         \
  396.                                                      \
  397.     /* sound hardware */                             \
  398.     0,0,0,0,                                        \
  399.     {                                                \
  400.         {                                            \
  401.             SOUND_CUSTOM,                            \
  402.             &custom_interface                        \
  403.         }                                            \
  404.     }                                                \
  405. };
  406.  
  407.  
  408. MACHINE( bombbee )
  409. MACHINE( warpwarp )
  410.  
  411.  
  412. /***************************************************************************
  413.  
  414.   Game driver(s)
  415.  
  416. ***************************************************************************/
  417.  
  418. ROM_START( bombbee )
  419.     ROM_REGION( 0x10000, REGION_CPU1 )    /* 64k for code */
  420.     ROM_LOAD( "bombbee.1k",   0x0000, 0x2000, 0x9f8cd7af )
  421.     ROM_LOAD( "bombbee.4c",   0x4800, 0x0800, 0x5f37d569 )
  422. ROM_END
  423.  
  424. ROM_START( cutieq )
  425.     ROM_REGION( 0x10000, REGION_CPU1 )    /* 64k for code */
  426.     ROM_LOAD( "cutieq.1k",    0x0000, 0x2000, 0x6486cdca )
  427.     ROM_LOAD( "cutieq.4c",    0x4800, 0x0800, 0x0e1618c9 )
  428. ROM_END
  429.  
  430. ROM_START( warpwarp )
  431.     ROM_REGION( 0x10000, REGION_CPU1 )    /* 64k for code */
  432.     ROM_LOAD( "g-n9601n.2r",  0x0000, 0x1000, 0xf5262f38 )
  433.     ROM_LOAD( "g-09602n.2m",  0x1000, 0x1000, 0xde8355dd )
  434.     ROM_LOAD( "g-09603n.1p",  0x2000, 0x1000, 0xbdd1dec5 )
  435.     ROM_LOAD( "g-09613n.1t",  0x3000, 0x0800, 0xaf3d77ef )
  436.     ROM_LOAD( "g-9611n.4c",   0x4800, 0x0800, 0x380994c8 )
  437. ROM_END
  438.  
  439. ROM_START( warpwarr )
  440.     ROM_REGION( 0x10000, REGION_CPU1 )    /* 64k for code */
  441.     ROM_LOAD( "g-09601.2r",   0x0000, 0x1000, 0x916ffa35 )
  442.     ROM_LOAD( "g-09602.2m",   0x1000, 0x1000, 0x398bb87b )
  443.     ROM_LOAD( "g-09603.1p",   0x2000, 0x1000, 0x6b962fc4 )
  444.     ROM_LOAD( "g-09613.1t",   0x3000, 0x0800, 0x60a67e76 )
  445.     ROM_LOAD( "g-9611.4c",    0x4800, 0x0800, 0x00e6a326 )
  446. ROM_END
  447.  
  448. ROM_START( warpwar2 )
  449.     ROM_REGION( 0x10000, REGION_CPU1 )    /* 64k for code */
  450.     ROM_LOAD( "g-09601.2r",   0x0000, 0x1000, 0x916ffa35 )
  451.     ROM_LOAD( "g-09602.2m",   0x1000, 0x1000, 0x398bb87b )
  452.     ROM_LOAD( "g-09603.1p",   0x2000, 0x1000, 0x6b962fc4 )
  453.     ROM_LOAD( "g-09612.1t",   0x3000, 0x0800, 0xb91e9e79 )
  454.     ROM_LOAD( "g-9611.4c",    0x4800, 0x0800, 0x00e6a326 )
  455. ROM_END
  456.  
  457.  
  458.  
  459. GAMEX( 1979, bombbee,  0,        bombbee,  bombbee,  0, ROT90, "Namco", "Bomb Bee", GAME_NO_COCKTAIL )
  460. GAMEX( 1979, cutieq,   0,        bombbee,  cutieq,   0, ROT90, "Namco", "Cutie Q", GAME_NO_COCKTAIL )
  461. GAMEX( 1981, warpwarp, 0,        warpwarp, warpwarp, 0, ROT90, "Namco", "Warp & Warp", GAME_NO_COCKTAIL )
  462. GAMEX( 1981, warpwarr, warpwarp, warpwarp, warpwarr, 0, ROT90, "[Namco] (Rock-ola license)", "Warp Warp (Rock-ola set 1)", GAME_NO_COCKTAIL )
  463. GAMEX( 1981, warpwar2, warpwarp, warpwarp, warpwarr, 0, ROT90, "[Namco] (Rock-ola license)", "Warp Warp (Rock-ola set 2)", GAME_NO_COCKTAIL )
  464.